<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .item {
      margin-left: 10px;
    }
  </style>
</head>
<body>
  <div id="app">
    <p>九九乘法表</p>
    <!-- key:是一个特殊的属性，要保证值唯一。作用是为了更加高效的渲染虚拟dom -->
    <p v-for="i in 9" :key="i">
      <span class="item" v-for="j in i" :key="j">{{j}}*{{i}}={{j * i}}</span>
    </p>
  </div>
  <script src="../vue.js"></script>
  <script>
    let vm = new Vue({
      el: '#app',
      data: {

      }
    })
  </script>
</body>
</html>